package com.naiterui.ehp.bs.ds.modules.order.vo;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class PrintOrderDetailVO implements java.io.Serializable {

    private static final long serialVersionUID = -4229708795167903695L;
    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "订单号条形码")
    private String orderSnBarcode;

    @ApiModelProperty(value = "收货人")
    private String receiver;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "订购日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @ApiModelProperty(value = "支付方式")
    private String payType = "线上支付";

    @ApiModelProperty(value = "商品信息")
    private List<OrderItemVO> orderItems;

}
